package com.nintendo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.nintendo.pojo.FriendInfoVo;
import com.nintendo.pojo.Friendship;
import com.nintendo.pojo.bo.NewFriendRequestBO;

import javax.servlet.http.HttpServletRequest;

public interface FriendShipService extends IService<Friendship> {
    void sendRequest(NewFriendRequestBO newFriendRequestBO, HttpServletRequest request);

    void rejected(String friendRequestId);

    void accept(String friendRequestId);

    void toBeBlack(HttpServletRequest request, String friendId);

    void noBlack(HttpServletRequest request, String friendId);

    FriendInfoVo searchMyFriendUserInfo(HttpServletRequest request, String friendId);

    Friendship searchMyFriendUserInfoById(String friendShipId);

    void updateFriendUserInfoById(String friendShipId, String remark);
}
